home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gHFpreviousline, ghfathleteno, gHFposition, ghfmaxathleteno, gHFline, gHFsearchcastmember, gHFsMax
- if gHFsMax = 0 then
- exit
- end if
- set the itemDelimiter to numToChar(13)
- set vNum to the number of cast "searchlist"
- set vmaxlines to the number of lines in field vNum
- set vLine to the mouseLine
- if (vLine > 0) and (vLine <= vmaxlines) then
- hilite line vLine of field vNum
- set gHFline to vLine
- end if
- if the doubleClick then
- set gHFposition to vLine
- if (gHFposition > 0) and (gHFposition <= vmaxlines) then
- set the puppet of sprite 34 to 0
- set gHFline to vLine
- getposition()
- else
- set gHFposition to 0
- end if
- end if
- set gHFpreviousline to vLine
- dontPassEvent()
- end
-